BaseInst class added
Data generation implemented
Data generation implemented
Fixes