Added basic game loop