Added more fields

Added applicationName as a parameter to the constructor and userAgent, applicationName as fields of the JSON logs.