Implemented component system for ball.
Closes #4