ATM as I said you get 60 days on arrival which there is talk of it going back to the old days of only 30 days on arrival and either can be extended once only for 30 days for $1900 baht it will depend on if it changes and when you come.
Also as Brandon said you can not live here doing it, you would need to look into the correct visa that suits you situation.