refactor API file