implemented index.php?p=class using. Implemented Location redirection to stay downcompatible