CODE: Created new class for the results of the analysis, saving them in a second mongodb collection; Cleaned up the code a bit
CODE: Added an explicit environment to the mongoid configuration
CODE: Added comment for better clarity; Changed a few variables and method names for the same reason.