Configuration API v1: SP support

Adding the first version of the configuration API to get SP configuration to the Gateway
ah, that is something that was used for debugging, should all be under 'errors'