Game loop working

Separate object based game loop working