Fixed style and added accessor methods for Room

Room.class style was fixed and several accessor methods were used for
private fields.