Remove AR and add mongoid