Adds balance model

* Adds convenience functions in core.clj
Merge pull request #10 from dyba/Add-Balance-Model

Adds balance model