added board and ball classes