Merge pull request #2 from dvidsilva/master

Added mongoid configuration
did changes to implement mongoid