add specs, middleware and api repos