model - move device persistent storage here

The dps functions were in admin, but are 'data' related and have been
moved to the model so they're globally accessible.