cleaned pdo_mysql adapter and added detailed comments