Where to Moving in Spain

Hi am living in Thailand with my Thai wife and Daughter of 8 years old
am looking to move to Spain in 2017 and wish to know what visa i need for my wife and daughter      am from the uk as i dont need one
and where is the best places to live with schools
i am looking to buy a house and maybe start a cafe or bar when we are over there

you can find the info if you google it.  try searching for dependents of EU or UK citizen to live in spain....you will likely need to obtain certification of your marriage in the country of marriage and your home country and apostiles for that and child birth certificate. etc.. of course plenty of paperwork and busy work, but all instructions can be found.  Your wife and child will need a resident card  TARJETA DE RESIDENCIA DE FAMILIAR