getting mongoid setup for modeling and storing the input data