Created /inc/database.php, refactored table creation to there.