Move logic into library