Add license notice

Adds proper license notice inside the file
Easier future versioning

Defines version as a variable for easier future update and usage
elsewhere
PEP 8 optimization

Style conventions in PEP 8. (https://www.python.org/dev/peps/pep-0008)