#119: add Sequence base class and improve loader.py
#119: changes from results of pep8 checker