Implemented Collision Handling. Still work to be done for refactoring.