cleaned gem file, added mongoid config, and initializer for lib