Project to manage cash flow in scala