proper variable namespacing. lookup did not work, which did not start nscd
reformating a little bit. replacing 'include' statements with 'class{}' statements
Moved some classes functionality to init.pp
Relocated nsswitch template