Create main_process.py

main process of the program