moved setup of packages to own file