fixed formatting, removed superfluous functions

made most functions private
added state record to OutlineTagger
removed _ prefix from private fields
'parse' returns a couple instead of a quadruple