Refactored create_table for PDO db connection
Refactored alter_table for PDO db connection