FunctionalDevice implement Serializable;
return Boolean instead of void for operateDevice function.