Refactored parser

* Built separate object libraries for headline sub-types for easy object
  building abstractions & serialization. Greatly improved code and a lot
  easier to follow.