Cleaned up Transform

Finished cleaning up the code for the Snac Transform main method.