Add automatic call to init function on construct
Add a templateExist method and improve render