Class to handle PDO Connection