added packages to the default module

Added packages and a bit of logic to install the correct version of emacs