Added function-level documentation to SWORD default controller; started work on swordStatementAction.