transforming the physics manager and the render manager into singleton, also making the project run on windows