Rewritten the persistence layer to work with a RDMS, because the version
of MongoDB compileable for the Raspberry PI lacks some functionality.