adding Board class & tests for it