Removed get_db_connect function and all references to it.
Continued refactoring to PDO and renaming of functions and associated files. Code clean up and formatting.