Added getDefaultDevice(), added return codes to start() and setDevice() and updated the documentation