karma and require config for new directory structure