Configuration API v1: SP support

Adding the first version of the configuration API to get SP configuration to the Gateway
Nitpick: parameter types.