refactor to use modules for each chess piece including refactored unit tests