major improvements to the main.py file with a better class oriented programming technique...