Added morphia, Made sensor record immutable