add in client documentation and cleanup