Corrected the version in the server part.
Fixed compiler errors.