HTML logging, creation of mini DB programmatically, added configurable keys and clean up