Added a new GameLoop [WIP]

Needs future testing and also some improvements.