Refactored labelCreator.py into a object so that it can be called from the mail center gui