added the cost to csv example file and unimon constructor and fixed Maintesting to work with cost.