Added Page class and some methods in Paging.java Trying to create the reference generator.
Merge apparent conflicts..