Activity service new ap is

> Added the remaining 3 APIs with samples.
> Added class level documentation.
> Changed a method name for consistency with JS.
> Some code cleanup.