refactored boardpiece and playerpiece. Fixed typo in filenames