Add enums to ease API access
Update javadoc
Update javadoc
Update GistOperation to current API