Use primary key on model init
Merge pull request #9 from VicDeo/primary-index

Use primary key on model init