major rework to support class arguments and hiera values with defaults.
reworked to use new hiera databases { db => { host:name } } structure.
pagent now saves output to dated filename