rename gen layer
rename genst -> genassign
refactoring
refactoring
minor changes