refactored ibox message model