Modules documentation

Adds documentation for modular file structure