refactor CsvImporter and add css styles to pagination