Split DefaultProfile to TemplateEngine and KVS