Make refactoring of queries
Extract Base class for Model of database table
couple mixzes of refactoring model.py
what argument should be '*'
make corrections after refactoring
update glyphs