extracted all modules, including templates