add menus.py. change the templates structure, add i18n support in templates.