The EU was founded on ideals of consolidation. But, as the organization grew bigger, it over-centralized it’s power in Brussels, with a heavy involvement of the German Central Bank. This kept democracy within the Union to a minimum, with dictates and edicts handed down to member states.
The underlying issues that led to the Brexit referendum ran much deeper than foreign immigration. The referendum was a protest conducted by the British people against having nothing to say in their own