configure models and collections