extract app first level skeleton to Zsh class