create index folder, create base files