passed the global mongo connection to dao's
configure elasticsearch from application.conf
fixed tests