PHP/PDO abstraction layer for database