1. A method for graphically configuring devices in a control area network, comprising: providing one or more application programming interfaces, wherein at least one of the application programming interfaces corresponds to a class of devices and comprises a set of functions, and each class of devices includes one or more devices; creating a plurality of graphical objects using a graphical user interface, wherein at least one of the graphical objects represents one or more of the devices, and another one of the graphical objects represents a control system; developing an automation script of at least one of the graphical objects, said automation script operable to configure one or more event handlers for one or more of the devices; creating conditional logic for the one or more devices based on the functions; and associating the conditional logic and one or more of the functions of at least one of the application programming interfaces with one or more of the devices using the graphical user interface, wherein the developing of the automation script further comprises using at least one of the graphical objects to configure one or more of the event handlers for one or more of the devices, and adding items to the handler definition by drag-and-drop, double-click, or menu items.