initializing app with features from p2