Object Oriented Framework for Remote Control and Domotics