1. One or more non-transitory computer-readable media storing computer-executable instructions that are executable to cause one or more processors to perform acts comprising: generating transformed code from source code based on an architecture template that describes a target architecture and an abstract syntax tree, the architectural template describing at least one of an advantage or a disadvantage of a target architecture, the abstract syntax tree including transformation rules that are generated according to the architectural template for transforming the source code into the transformed code for execution on the target architecture, the advantage or disadvantage specified in the architectural template causing reposition of at least one candidate component in the abstract syntax tree as being associated with a first component type rather than a second component type specified in the architectural template; storing the source code and the transformed code in a data store used by an application, the transformed code is a transformation of the source code by at least one business semantic preserving code transform, the at least one business semantic preserving transform causes an execution of the transformed code in a new execution scenario to produce an identical semantic effect as an execution of the source code in an old execution scenario, wherein the identical semantic effect is guaranteed by annotations in the abstract syntax tree; and causing a display of a user interface of the application on a display device, the user interface providing one or more user command items for manipulating at least one of the source code or the transformed code stored in the data store.