Loaded class.php into index.php