Added AppContext to application