builds new class for collision detection
collision detector logic, callbacks are awesome!