intial config of models, views and collection