Merge pull request #21 from jellysheep/sphtp

Merge basic CMCP implementation into main repo.