crs manager

Improved resource handling of crs manager.