One-for-many beampkg

Get the module name from package, work with arbitrary number of packages