Move application.py to simpletor