add application context interface

add application context interface