refactoring of selection and some other stuff
create stSelection class
component to sync value with selection