Patron factory method. Falta meter logs y tests