Added some basic API objects and methods.
Updated .gitignore