Add client API, Readme and move server code.