add new format to some templates and move crud to front controllers