add request inspector and static middleware