Add gems and Use mongodb