Swap out sqlite for mongo