add interface for new repo impls
added mongo database