added logging ability
added code that loads the runtime parameters