added moment module for easy date parsing
added logging functions
logging functions with moment date module for clean timestamps