create InjectApp trait for boilerplate app container injection