Revise parts of the code

Describe the namespaces in main.hpp.
Clarify some comparisons in Entity.cpp.
Change the reference to the game state in the game engine to a pointer.
Extend the exception calls with a message.
Add a present function to the Grafic class.