Added Client and Server Code for Stage-1 serve