new version
replaced inhericance with composition between document and documentversion
finished mapping
added contentinterface
tests