add warning/logger
Merge pull request #34 from dimagi/minor_fixes

add warning/logger