Create API handlers for version and balance requests.