Feature/plugin registry via json

functional, but WIP