[refactor] integrate Transformer (manager for transform commands) to compiler