PScalaType

re-arch to enable Scala types, like RangeType/DATE etc, configurable