started work on config class for plugin api