add some model and mongo repo stuff