moving api directory