add routes and resources to support api spec