added data class Subject, added saving & loading functionality