adds project index, refactors pagination