Vast improvements to parsing engine, and slightly updated documentation