idiomatic export of startApp