Functional

With this commit this project is functional. It is still very specific
to the one format though.