Add dependency.
Make app parameters mandatory.
Fix namespace of main app.