Check expire time. Move payload classes to model module