What Was The Author's Purpose Of Writing "And Then Were None"?

And Who Is The Intended Audience Of The Book?
Like Who Would Most Be Interested In It?

-Thank Yuu(: