Initial graph loader, poorly tested