Added emacs support
Moved packages states from pillar to map.jinja