Working on seperating importDatabase.php into a function and a main