clearing cursorKey if pageSize==totalSize
removing jdbc, aed and api modules