Removed main method from handler.py