Add missing api and gitignore file