fix time for win32, implement background
small refactoring
Start physics implementation