Create new Device model and move device-specific columns into this model. Fix all controllers and views that need to access device-specific columns.

Run populate_device_table.rb after new model and code installed.