factors out mechanize and made in new york functionality