I would say that those reasons helped greatly influence the vote. Many people felt tired of not being listened to and were very dissatisfied with the European Union. Prime Ministers from Harold Wilson to David Cameron didn't particularly care what the people thought about the EU, and it was only because of threats from UKIP taking seats did Cameron do the referendum. His gamble backfired on him dreadfully. I myself was, at the time, for leaving the EU, but since then I've had a few different ideas and am unsure how I would vote next time because of the complexity of the issue.
Federalism is a reasonable concern, especially given that politicians like Nick Clegg called the idea of an EU Army 'a dangerous fantasy', yet it ended up being true in the end, but people were also concerned about mass immigration, and for a great deal it wasn't because of deep-routed xenophobia. Mass immigration can affect wages and create more demand for housing, the latter simply being because more people and less houses means a big demand. You can put that down to the fact of insufficient homes being built as well though.
Ultimately, I can understand why many people would be in favour of leaving, as well as remaining, but the issue is extremely complex, hence why Cameron was arguably stupid to call the referendum to the general public. I would say we elect MPs to make decisions that complex for us, but then again part of people's problem was people not being listened to. I don't think anybody can pretend it's a simple issue though.