DNA initialisation with structure
Updated the sensor to handle energy