refactor out into library applicatuon