remove useless stuff
add logging when application is configured