php class database CRUD and Wrapper using PDO