Added song segmentation and visualization code and some base classes