Added action system.

Action systems can be chained together to create reasonable events.