Add GameBox class, clean code and finalize demo.