Develop interfaces for cost module, implement one or several cost functions. Tie cost module to statistics module.