Add schemas code, second attempt.

I want the output to be formatted in a particular way. I can using an existing library for parsing, however.