move main page to jinja and new design