Fix calendar modification
Apply some naming modifications to shared table

'Shared' table is now called 'shares', and some columns have been renamed
to make them clearer
Use the new shares column names across the code