Add logging
Fix some module refereces
Fix README example