[api]Move api related tempaltes to api2/templates