add uwsgi.xml and magnet.py files