Moved settings template to a separate file