Refact the whole system for the UV layout using styles