Adding models and resources classes