created an init method on base app host