Bug 1101490 - Implement a new component for Rooms database management

same about early returns