Changes in listing devices and added PMController

Return list of Device objects instead of strings for listDevices
Ignore empty lines when parsing list of devices
Added controller for PackageManager(only install and list packages functions for now)

I will add more features in the future
I used language level 7.0, let me know if you want to support earlier version