smarting.php now has only the class, smartimg_generic.php is the executable script.