move out UIRParts.scala