Adding classes to map to span and div tags;