Message: Renamed messages table to inbox. Generalized message repository.