move template_map to settings file

moving the apex template_map to the settings file so that it can be
accessed by the plugin for displaying and checking valid templates.