Some more base code to develop a UI for creating OPF files

This is not a complete app but some base code to demonstrate reading and
writing an OPF document