Promote app parameter

I made a pull request for #56. Let's keep the discussion about the feature in that one, but please comment on my code here.