updated routes
Fixed header, footer templates
try struct