moved device path to different file

new getMessage method
changed device path