Move StatsApp into its own place to fix the tests
Fix the plugin import tests