Introduced PDO-SQL and new config file into rate.php