Refactor the way of defining the models

* Removed the `keyId` from the BaseModel as is converted to `id`
* Added the `createdDateTime` and `lastUpdateDateTime` as part
  of the BaseModel