Refactor to minimum to start implementing xml product import.