William Shakespeare spent the majority of his life between London and his hometown of Stratford-Upon-Avon , and while much of his work is set in his home country , most of his stories take place further afield , in mainland Europe and beyond .