new methods

Fix bad behaviors, add methods to get list of devices, instruments,
locations and components and to remove individual elements.
TODO: reshape addax to avoid string and object in arguments.