Finished the controller class for the balance. ref #10