introduces prompt variables (%s, %d, ...)
[FIX] correctly close data sources
read prompt template from config file.
Merge branch 'prompt_vars' (close #9)