Ported DEALIAS to a module.  Includes array data and init.