First parser and expanded build code.

Initial parser mockup.
Expanded build procedure.