Implement setPrimary
Begin exists()
Complete initial table creation
Add migrate tests