Peakon and beyond I: scalar form