Moved ball class into it's own class.