minor refactoring: move common code into class of its own (eyeblink detector)
minor refactoring: move common code into folder of its own (pyeeg.py lib)