refactor kinvey service
refactor kinvey service