Added simple config parser \n(consider rewriting with regexps)
updated logger to statically exist