remove pdo initialization logic from static database class