modify 519.sql and classes

- user now includes device, sql user table includes device
- device class deleted, and sql table deleted