Added loggly integration, moved SQL connection to config, made config class singletone (base on process object)