Uses PDO instead of creating an instance

I've changed it so developers can use it to extend another class to create the same affect as extending the mysql. This allows developers to perform additional tasks as well keeping their work organized. Also I've changed the formatting since the last commit (that fixed my confusion) wasn't clean so I changed the formatting as well.

Also I edited the readme.md for the new usage.