name shadow, type interval, construction method

Construction method is added in BetterTrans.java
for classes defined, so that creating new instances
is simply a method call.