First changes in CollisionDetector
Creation of two classes and remakes