The first steps to parallelize this application.