move API file to root