removing old api directory