Finished Docing Functions in Client Code

server code next, then html docs