created a factory class of MazeProject