DB Class

Added DB class for working with PDO - dragons ahead!