Fixed dependency and classpath errors, implemented DeviceController