reorganise, add wsgi and sample config