Using board generator class