Operations from Functions
As we know, function is actually operations on object. These functions could be simple and summarized on object model. Organise functions into operations on objects. For example, select operations are really path traversals in object model. The operations such as withdrawal-money, verify-password are operations on class Account of Bank Management system.
You can write them as:
account: withdraw (code, amount)->status
account: deposit (code, amount)->status.