Add typings for typescript
Make Identity key Integer