Factor runtime_stats into its own class