Further work on database.
consolidate solutions and autosave tables into solutions table.
Drop java-specific tables activity_logs, unsolutions,