modified constructors to be able to create objects without config
instance given