seperate routes logic into App Routes