Rewrote input system and entity static data, implemented entity manager.