move constants for Avatar to cpp