Add more prettified, documented functions to Parser
Add more clean, documented rewritten functions to Parser
Rename some small functions in Parser
Refactor names of functions in Parser, add some util functions