split piece and board class into two seperate files