Provide support of Scala 3

There is good and drastic change in scala version 3.
Please try to support it as earliest.