Added database configuration and header and footer structured.