To me, there is something wrong with the "driver" class suddenly knowing about the stream repository, the stream deployer, etc.

This should just create an app context and let things happen