moving api to subfolder and merging in main project