added CRConfigStreamLoader and some tests