Added pagination

Resolve #12 
Line is too long. [159/80]