Modules

creating modules in dir adding to index file if not exists the dir or main file