Refactored PDO connection into a Singleton wrapper.