Rename globals and add initial physics manager.