fixed example and schema handling
Merge pull request #12 from katsanva/master

Fixed example and schema handling