Created base class for label containers and refactored some parts to accommodate this