Changed worksheets to scala classes