Added some physics, general work on entities.