Moved plugins class & altered functions.php