application init framework