adds application controller