CMS-1656 Improve Remote calls API
Moved DeleteSpacesHandler to api and created interface for it's param