mongoid gem added and configuration made.