Initial commit of Advanced Search and reworking of pagination