added VARBASE so log files are not in /usr/pkg/var by default and moved config files in a subdirectory