improved documentation and CLI