Restructure of parser

Included a basic list maker for the document, this should address the
earlier issue I had with recursion.