Route code move to Controller