Added registry server code for distributed framework. Still some issues with exceptions need to be resolved and proper organization with commenting is needed.