main function

Use this to give an overall workflow, edit with your function names and
add functions as needed.