started work on PDO db backend