feat(packages) - create packages

SD-923
SD-1036
SD-927
SD-1027
SD-925
SD-1039
The check for duplicates (value > 1) could be done here, no need to do it in a separate loop.