Implement console app ui

ConsoleAppUI and cmd.exe command generation implemented. Ready for merging into Master.