Added beginnings of unit tests for models.
Refactored requirements file.
Removed settings which confused PyCharm.