implement ball
implement Control class