Build mogenerator from source, add templates, generate machine files