remove unecessary initialization
refactor build command to relation
refactor initialization of relation child to parent
refactor each on sensor_relation