switched to spring boot, in a very sloppy way
removed ApplicationConfiguration and cleand up resources