Added `App` constructor