changed hibernate model to mds
changes repository from hibernate to mds