Added isEmpty to Paginator
added setBaseUrl to paginator.