make zsh more modular. Extrct functions and aliases