fixed db table naming from assignedPersons to assigned_persons to follow
the convention.
Updated the documentation
Moved from assignedPersons to assigned_persons in code too.
Made default class to be the one with earliest upcoming entry date.
Fixed naming to match conventions.