Added ball object with spawn and setVelocity functions