Fixed player wasd movement.
Made a physics thread.