add zsh/functions and reorganised directory structure