Restructuring commands a bit; broken out into a separate file and moved the models around. New command: 'purge', to remove all generated files.