Refactored collision detection into Collidable classes.