added user docs structure and some refactoring