Added models, migrations, tests, Foreign keys and validations added to terms, sections and courses