New structure for classes
Squared corners in the activity table settings; minor fixes
Added support for editing classes
Database schema update; comments; minor fixes.