Added VersionManagerInterface

The goal is to increase flexibility of the storage location of the
current version. This way we can store the current version in the DB.
Added default implementation with the old file based mechanism.