Some bugs fixed. Pagination class developing started.