Packages, collection of helpers stolen from prelude for now, and some init stuff