Changed all webserver calls to the new database communication layer (DBComm) and implemented the database configuration in config
Implemented new database communication layer.