cache() and pagination() methods are moved to their own place near their library class inside of the sample folder.
cache() and pagination() methods are moved to their own place near
their library class inside of the sample folder.

And due to this movement some extra namespaces that was used are no
longer needed in this class and then removed.

And that we are calling $registry object as an static property not like
object style!

baghayi/Rastgo-Framework