Better support for multiple models directory and clean apps dir when resign begin.

Better support for multiple models directory