renamed template dir to ui