Added initial API files.
Added .gitignore.