add support for module file structure via "options.useModulesStructure"

Closes #15