Add macro: UTC_DATE_FMT
Use logging module to log info/error
Move main function to app.py