Initial natural weights prototype code.
fixed the local_gradebookcoredb install code