refactor jem into jemlte subdevice