separate constructmino from parsemino
make mino a class