How to script GUIs using Knit Framework?

Both dthecoolest and BoboFin answer helped but because BoboFin gave wider explanation I’m marking him as solution