Added docstring and comments to db models.