@goingwtheflow
You have two .py files, each with their own main, hence standalone programs. How do you intend for them to interact? One would be better without the main.
When you post code, please use the Code icon on the toolbar to make your code legible.