Cm pagination

Lots o comments in here....