Added standalone parser code I had. Needs some work to be adapted.