Add stub for setting up state in pedagogical module.
Stub for setting up saving state in AUTHOR mode.
Merge branch 'master' into haoxuan3
Also, code review for saving counters
into state table.  Merged getMessage() into message()