made devices and structures objects and associated with nest class