Refactored model, created basic rules of go game.