The problem is that you named your file 'envirophat.py'... when you ask thereafter one of the example to 'import envirophat' or 'from envirophat import', it will look into this file and will not be able to find the classes you specified for import.
... I hope I'm being clear, but if not check out the following link that goes into more details: