Finished all refactoring up to Check module

Check is operational. Need to fix bug in removing moves that result in
your team being in check for checkmate module.