Remove database tweak to use PDO
Rename cas controller to baseController.
Add PDO database handling in baseController