Added config modules for jini services, minor changes for compatibility with matlab