created cards index, set root directory