general: SQLAlchemy models addition

Following issue #1790 I introduce new models.
see #1904