use IoC for some project document loading