Use mongodb instead of sqlite