update routes to use bottle subapps