Adding plugin and config support

Plugin support isn't used yet