modify to work with iredadmin0.4 and add requirements.txt