Init database connection and templates engine
New templates for header and footer