Fix issue with call to getCurrentProfile

getCurrentProfile was broken since the last refactor. Refactored getApiData to have a single call for all options
Added proxy Support for SPS calls