Wrote foundation for parser.