Thanks so much Mikaela, I have extracted the networking into its own manager and reformatted my program.