Reafactoring of creating new instance without default contructror.