some refactoring
initial documentation structure