Refactored board class to take a config file for setup