Initial commit
Added almost all basic functionality
Initial functionality
Cleanups
Merge https://github.com/kaimast/libdocument