Generalized Id generator, bug fixes, added global table for families, Manor refactor.