Configuration API v1: SP support

Adding the first version of the configuration API to get SP configuration to the Gateway
Then it's a race who gets merged first :E