WIP on index.go which incorporates unique and primary keys
index.go adds both PKs and UNIQUE constraints