add documentation for modules structure