game engine was refactored
refactoring and collisions