setting up code as a package