Added a couple of common libraries, including RemoteFile to handle remotely a file pointer, improved services library to be reused by upcoming module, minor code refactoring