removed unused private method
removed model usage in non-interactive mode

Note: DbConnection switch only available with --interactive=0