Added setLabel and getLabel methods to Label class