added jpgraph library and Devices model