Creating widget prepares phpfile and templatefile with Class Name and folder.