reworked init-mongo
db init and model factories