add index and lib folder