Added server api (doesn't works, can't test it)
Added work with server
Fixed message design