Logging and deserial submit/request

Updated some logging, as well as enabling externally from the source
code. setting public data member "logging" to true will enable log.

Deserialized emits and data request. improves overall speed of both.