Update main.py

added refined goals, added early environment check function, added early version information to be used for checking for updates.