delete some redundant code and clean up base
Merge pull request #1 from ShadyPenguin/board-gen-refactor

delete some redundant code and clean up base