added realm concept and queue configuration storage