Add package class and tests.

This will represent the relationships between triggers, aliases, etc.
Add empty() function.