added server
Added documentation to couchapi.js