Execute the init() function when a new instance is created of a class, and apply the arguments of the constructor