Refactoring of mining calls in System
Mining for Label and Day completed.
Changed function name in Label

Changed getLabelName to getName since there is no need to say Label in
the function name.