Added main scheduler loop with a rough way of maintaining 60 FPS. Might drop it to 30 for more stability. Also added a key listener