Refactor export service

Changed the data type from short to int to increase the number of rows in excel export.