moved di to application wide