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)