made changes to the maven project structure to include java 7 as the java version. Also tidied up some of the utils and the mongodb interaction.