Merge: gamnit: add documentation and standardize the API