Broke down one big template into sub-apis