code modernization

Code modernization: utf-header, pep8, rst-files, adapter/implementer decorators, ...