Game loop implemented

Some Gui elements are still missing