initial commit of majhub server code