fixing some stuff re using Activator.createInstanceOf for base class implementation.
Added support to pass arguments to the superClass