Add static content loading to example application.
Refactor too many arguments in constructor.