Code refactor

* Add support for xml declarations
* Add keyboard shortcuts
* Structured for formatting additional types later on (like json)