implement a function to retrieve revisions from db
implement a function to retrieve files from db
create a constructor for retrieved instances
change the type of the field in MethodData that has VectorData from VectorData to long (id of VectorData)
change the type of methods from List to Map