Added logging features

pub demo includes logging now
Adding tracker code to some other demos