Initial version copied from SVN repository of pedigreemm