Bug 1101490 - Implement a new component for Rooms database management

we could do a new private method called setLocalCtime(room) because this is used in several places so we can change this in the future easily if would be needed