Code refactoring
Support schema option
Extract fields from schema file
Merge pull request #23 from hakobera/support-schema-option

Support schema option