User Configuration and PHP Environment working in bootloader. Also added
various $GLOBAL variables fo use though out the code.
Coverted to use standard PHP PDO class to connect to database.