Upgrade code to iodine 0.7.0 and improve logging