Updated WorkServer

Created Constructor of WorkServer
Added main methods to WorkSever and WorkClient