Fleshing out action library.

Added basic definitions for action structures and their various
protocol operations.