add doc for server api
merge readme