Rainbow's End by Beach, Rex
 is a Project Gutenberg book, now on Github.