Implement collision processing. Create a framework for object controls.