added mongoid gem
hw2, added filtering