initialize sensor timestamp and class creation and not at enable time