Modified listener event chain
We should decide whether to call database functions in dbCommunicator file
or simply in listener's dataEye.emitter.on('readyToWriteToDB') function