add more cdd html and controllers. get global var