Added main.py and match.py to split the app.