added database creation script and corrected bad import statement in index.php