Extract middleman app initiation from step 2