Implement Collision class