including ball class in main file