further coding in modules ca-qa and ca-qa-shell (NOT FINISHED)