Updated API, updated gitignore, added example and bumped version number