Split the code executed on worker in further packages and subpackages