Refactored table creation into setup.php