Adding app controller