added mongoid config and sample