Reorganization module mMain. Added Unicode Support for CommandLine

Reorganization module mMain - from the module is separated into modules
and mCommandLine mMainSettingIni

Unicode support for command line

Remove (or Change type) unused variables

Preform to extend the functionality emulation mode