move templates folder; update application controller