Cleaned up code that was commented out and moved
isMoveValid to protected