rigidbody and collider core implementations

added finish(), beginCollision(), and endCollision() methods to Component