repository interfaces, implementation of Application mongodb class