First pass at statistics tracking and logging