fixing template ui editing, remove old single file settings and refactor template file resolve