The great code style change

Stopped experimenting and updated to a more consistent code style
Fixed a timeout bug in the app class
Used define_method instead of method_missing for colours
Tests!
Comments!