init Collision detection class