add class to handle mysql pdo connection