Added new class for properties of the StudyGuide

- Added StudyGuide class which has now the StudyGuideContents class with StudyGuideAttachment class inside it.
- Class and function StudyGuidesList renamed to StudyGuideList
- Some optimizations for the file detection for the attachments