fix the dashborad problem,Add models to minig application,

since user can randomly name the dashbord. so it's better add prefix for
the dashboards. and also start a little refacotr