Account balance query

Query accounts! Nothing else is strictly necessary to start writing the
web service.