Move processing logic to yturl.py, only keep main script logic in yturl