Organic directory search and pagination code added