First pass at implementing macros
Add documentation on how to use transforms in macros