1st workable version of the server side.