Inject app into class contructor for controllers as services