added .h and .cpp files (still need connection to input data from r_peaks)