Setting up command
starting model generation
Generate model and enable generation on command line
Clean up code before publishing