dev: full refactoring of money module