Abstracted some application logic into a lib