Added a bit of documentation and compile glue

I can rebase if you need. Obviously this is just a pet project.

Thanks for writing it!