moving function definitions from init.el to their own el files