adding label support
Merge pull request #37 from blackbarn/master

Added label support