updated folder structure where refdata is created