Made camera an object. Made a ball class