errors fixed; simple routing; main template