The application project is created with the graphical programming system L-STUDIO (IEC 61499 standard), which allows programming using function blocks (FBs). In L-STUDIO, the programming environment comprises the entire project, where each controller in the IP network is treated as a computing resource with data points. L-STUDIO deploys the application to the networked controllers and creates the connections between them automatically. Event-oriented execution of the program allows for fast reaction times. As a novel approach to automation we name this "Cloud Control". An arbitrary set of functions can be mapped to a cloud of controllers. The strictly object oriented programming method allows for efficient reuse of previously implemented functions. A variety of debugging and watch functions allows for building-wide troubleshooting during run-time.