Caching spring factory was added

This request depends on the recusrive dao #38 request.