device data now served as Odata in the browser

certain classes needed to be renamed, a new class had to be created, and
certain logic was moved around. The Database now has some information in
it. Hooray