rendering works
Added physics system and better main loop timing.