[PATCH 1/5] devenum: Merge factory.c into devenum_main.c.