Adds balance model

* Adds convenience functions in core.clj