Plugin - moved everything out of app.php