Added Buttons to GUI for Generate code.
Auto create directory for code output.