Antoni Gaudí, Barcelona's architect