Forked spektroskop.py to an object-oriented approach.