adds reconnect feature + puts assetId in lib

-adds a reconnect feature for the mqtt connection
-sensor & actuator id's are generated behind the scenes in the library