Added some comments
Fixed PDO error
Removed echo from constructor
Removed extend