Renamed htmls to templates.
Implemented settings UI.