Yes, this is basically fanfiction. But it's really, really, really well-done fanfiction. You even get to choose your own ending! Check it out.