models and collection splitted to plain models and collections and their REST counterparts