app is initiated in parent constructor