refactored spectrum base class into standalone module
added spectrum object methods centroid/peak/integrate