adding mongoid and stock model