Moved parser to separate file.
Ported cbuilder over to a new abstraction layer.