Add gitignore
Finish first draft of API