rewrite to support wsgi
Rugmigen and initial plugins