Abstraction to SQL queries by using a PDO Wrapper