Retrieve docs

Closes #3 

Hey @devcritter if you are able to, a review would be good.
Yeah, I agree. But I wanted to keep it pretty similar to the borrowed code so that we can include any changes that they make. Maybe once this is more stable we can look at refactoring it out?