move ball physics methods inside ball object.