using pdo

db.php & index.php -> using PDO now.
setup.sql updated
setup.sql updated