Device42 API module for more object oriented API handling