move packages setup out of init-el