Setup settings and final function to instantiate the class fully