Created board class for abstraction