further modulization

moved a number of functions over to individual game board