1. A computer implemented method, comprising: determining Application Programming Interface (API) source code to be executed as a runtime scenario, wherein the API source code includes command design patterns; and automatically generating classes as a series of linkable building blocks in accordance with the API source code and command design patterns wherein an output of a first class is an input to a second class and an output of the second class is an input to a third class, wherein the first class, the second class and the third class are distinct classes, and wherein command design patterns comprise an object oriented object to encapsulate information to later call a method, wherein said automatic generation includes: dynamically reading API command classes and associated methods using reflection; generating a building block class associated with each API command class; and planting runtime readable embedded metadata in the building block classes, at least some of the metadata being provided by the reflection.