make this disaster suck slightly less

removes configuration bits to a separate file
UX improvements