added core logic, models and resources