Feature/balance

added balance query, and a small fix to allow balance query to be added.