Update and rename class to class.php