Shifted all output to lager. Added type_map implementation. Passes basic collectd tests