Configuration API v1: SP support

Adding the first version of the configuration API to get SP configuration to the Gateway
If it is your experience that it is beneficial when dealing with hundreds of entities, then be my guest.  :smiley: