draft implementation of templates config table