init application class