Refactorying about get and set vconf function