move REST models to separate file