creates board class with its basic methods