initial refactor

https://github.com/irlnathan/sails-generate-scaffold/pull/7