Refactoring of task codes to Activities

    * Minor fix for engagements API
Bump version 0.5.2