Several fixes

  * Remove spurious template
  * Remove spurious exec from dashboard define
  * Add template_dir parameter to configure class