CRPropa: A public framework to propagate UHECRs in the universe