Add app.rb to run test cases. Finish functionality of terminal.total method. Specs currently not working, but think it is because of local gem issues rather than spec files themselves