Imperfect logic written for database calls to get more specific device information.
Merge branch 'master' of https://github.com/t3hpaul/lws