refactoring of names in mainframe
All sequances completed.

Emil, start working!