Rewrote App and Gameloop
App now inherits gameloop
Added a doc target to the makefile