added helper methods for parse and balance, added tons of functionality should have commited much earlier.