Moved DI modules into lib folder
created diff.js to handle checking IMAP and updating cache
Restructured diff.js