added magic __DIR__ constant to include autoload.php with relative path.