convert board rotation to state mutators
refactor board and selector modules