Create register.class.php