create an empty index in gateway directory