Implemented and added CollisionDetector, not used yet