Renaming routers to devices.
Handle nodes without location config.
Further renaming of routers to devices.
Finished renaming routers to devices.