1. Api for subjects has been implemented
2. Small refactoring was made
3. Some bugs was fixed