Main file resolution for the root package, dependency storage