[N]Gameloop

implemented the base gameloop with fps rendering (unfinished)