Initial stats_plugin commit