update documentation with new modules
updated docs
updated socket and state sections in docs