[TASK] base ter command cs fixes
[TASK] make ter base command class abstract
[TASK] ter repository model class implemented