some simplification

I don't know why the Application should be injected. Normally there isn't interesting stuff in in.