Added database connectivity and updated styles