Moving api directory