Add new dependency injection system
Add model for departments
Add model for Subjects
Update templates
Add new services
Add dependency container class