Added macros for transformation class to singleton.
Merge pull request #1 from AShandrakov/singleton

Added macros for transformation class to singleton.