added board class

probably broke everything tbh