New code cleanup

Using StringBuilder instead of a simple string to speed things up,
renamed parser to something more palatable, plus some comments.