Adding initialisation function for board