application: make it inherit from view
view: minor DSL improvements