Added autoloading of lib/trimodel.rb and disabling it, migration files creation and deletion and parameter validation