refactoring commands and starting gui development.
gui save settings
gui