Database class and styling changes