move API examples in to the templates dir; remove config.api.examples