add main.py, purpose.py and random.py