Improvements to API Requests

Instead of grabbing category names and then piping them through the search interface of the api, they are now piped in the api/2.0/categories/ interface. This method is less hacky and gets more hits for device names.