reorganized resources, routes, and ioc