Initial code cleanup of installdb.pp