Updated res contents
Deleted old pagination stuff
Moved docmanager to document package
Implemented pagination
Updated res folder
Implemented Lee's and Graham's code