Moved parser to it's own file

Also created node file and word document file. Slowly seperating content
to allow parser to work with several generators.