Refactored emacs configs