main.py that handles everything in pos