Move api to dedicated folder