init application controller