Move projection to separate file