Addition of server side code

Initial Commit of server side code