New PDO DB Class

Updated DB Class to use PDO instead of Deprecated MySQL Functions.