introduced varabile map with request extractor for template and removed variable map with string