scaffolded library again and added mongoid gem