Moved codes helpers away from the init.el