Added thread safety and singleton method to EFServiceContainer