moved routes to constants file