New Device and Location classes for JSON usage of API
Added code to support ADD and DELETE of Device