Added WeakIntHashMap
Added FactorGraphRegistry and graph ids