app interface change: initialize() now gets logger as a first argument
minor cleanup