Add async thread helper

Add a helper class which handles background threads.
Add viewer count logger

Add code to log viewer counts.