Add data files, create functions and fill out index