Uploading libraries required for splitting slides.

Uploading CG's code as well.