Code bugfixes, new collision section, entity manager refactoring and script modification to minim original version