adds spreadsheet class