make main and metamodel modules