Protocol module done. Working on device module