added server code to workspace