Refactoring

Cleanup.
Created new packages for KR2RML
Factored out plan generation for KR2RML output