Added defining of PK if unset on first addModel. Fixes #12
Versioning and build