Update main.py

Implemented Ilias. Missing: Regex etc [doesn't work yet]