added Puppet base class, improved puppet nodes structure

Signed-off-by: Manula Thantriwatte <manula@apache.org>