add model and tests.
types updated to match model.
docstrings.
docstrings, again.
Merge pull request #2 from pulp/jortel-model

 model