Added CRUD functions and testcases for Puppet classes.