Resuming work

Implementation of device module