seperate config from index.php