Add MoveToFolder action.

Add several utility functions.