Creates washing machine process using factory pattern