refactored to extract example application

using assited injection for application object.
will this work with servelet container?