Change REST API for domains. Move from /domains/domain_id/entry_id to /domains/domain.name/entry.name
Move from hardware / hardwares to device / hardware
Fix typo for preferences
Fix typo
Add comments
Fix return object
Add preferences for domain