refactor schema loading in create
Remove nesting and use correct params in error_and_warning_count
Merge pull request #83 from theodi/refactor

Refactoring to improve code quality metrics