model handling via the Viatra API