Restructuring Legends parser

* Implementing parser Rules and Handlers in classes instead of ad hoc structures
* Started implementing logging infrastructure
* Logging configuration is laid out in a YAML file describing the various necessary components for the python logging module.
* Started implementing base CLI setup using Click