Patterns!

Added some basic global design pattern macros for use throughout the
project.