added moneyseed class. refactored code.