CMS-1868 Rename lib to remote (RemoteService.ts)