proper variable namespacing. lookup did not work, which did not start nscd
reformating a little bit. replacing 'include' statements with 'class{}' statements