combine question and actions modules into prompt module
use some content from python version