hanged the way modules and protocols are written and loaded.

Modules and protocols are expected to export a loader function that
will be called from the framework in order to load the feature.
config.json contains the node module path that points to the module or
protocol.