Update 2.0

Tested with PHP5.5 & MySQL5.5.38, now using PDO for database connection.