added application.class.php