Got basic set generation functional and partially hooked to GUI