Added infering of module based on folder path.