Data repo2 add type

This builds on the data_repo2_rebase branch adding type as a param to DataRepository.get