move ui into a new package
separate window methods
refactor config