Model Refactoting and optimization
Little Shared Data Types Refactoring

Signed-off-by: vukis <vukis@bk.ru>