init application at applciation controller