Added Metadata logging along with CEF output

I should really learn git...